[x11] Fix coordinate space of rect in gdk_x11_surface_get_frame_extents when called...
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 20 Jun 2022 08:11:29 +0000 (10:11 +0200)
committerEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 20 Jun 2022 08:13:21 +0000 (10:13 +0200)
commit5301a74bd3554612540ef7a59079a78e732644c5
treede7c528bc701deb7d1b3f3684188c61f81610464
parent381c34783dcafbfbd58441e709ad0c8b4b30b72e
[x11] Fix coordinate space of rect in gdk_x11_surface_get_frame_extents when called on popups.

If we take the early return we don't unscale this at the bottom of the
function, causing wrong coordinates in HiDPI screens.

This bug also affects GTK3 (I noticed this running Firefox tests on X).
gdk/x11/gdksurface-x11.c